package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 蒋学伟
 * @create: 2020-07-21 16:27:23
 * @Description UploadFile
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "d_upload_file")
public class UploadFile implements Serializable {
    /**
     * 下载地址url
     */
    @TableId(value = "vcUrl")
    private String url;

    /**
     * 相对路径
     */
    @TableField(value = "vcPath")
    private String path;

    /**
     * 文件名字
     */
    @TableField("vcName")
    private String name;

    /**
     * 文件原始名字
     */
    @TableField("vcOriginName")
    private String originName;

    /**
     * 文件大小
     */
    @TableField("douSize")
    private Long size;

    /**
     * 扩展名
     */
    @TableField("vcExtension")
    private String extension;

    /**
     * 创建时间
     */
    @TableField("dtCreateTime")
    private Date createTime;
}
